/*DIGITAL CLOCK FONT*/
@font-face{
 font-family:'digital-7';
 src: url('./digital-7.ttf');
}

* {
	margin: 0;
	padding: 0;
}
body h1 {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  font-family: sans-serif;
  padding-bottom: 15px;
}
body main.clock-display {
  display: inline-block;
	text-align: center;
  padding: 15px 30px;
  border: solid 5px #ffffff;
  border-radius: 10px;
  margin: 60px auto 0 auto;
  background-color: #000000;
  color: #ffffff;
  box-shadow: 4px 4px 7px 4px rgba(0,0,0,.3);
}
.light-on {
	color: #ffffff !important;
}

/* DATE */
.date-field {
	margin: 5px 0;
  display: flex;
  justify-content: space-between;
}
.date-field div {
	display: inline-block;
	position: relative;
}
.date-field div p {
	font-size: 34px;
	position: relative;
	z-index: 100;
}
.date-field div p.placeholder {
	color: #D4D7D5;
	position: absolute;
	top: 0;
	z-index: 50;
}
.date-field div.day-of-week-mobile {
  display: none;
}
.date-field div.day-of-week p {
  font-size: 50px;
}
.date-field div p.type {
  font-size: 10px;
  font-weight: bold;
  font-family: sans-serif;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .date-field {
    justify-content: space-evenly;
  }
  .date-field div.day-of-week {
    display: none;
  }
  .date-field div.day-of-week-mobile {
    display: inline-block;
  }
  .date-field div.day-of-week-mobile p {
    font-size: 56px;
    margin-top: -2px;
  }
}
@media (max-width:550px) {
  .date-field div.day-of-week-mobile p {
    font-size: 50px;
    margin-top: 0px;
  }
}
@media (max-width:468px) {
  .date-field div.day-of-week-mobile p {
    font-size: 42px;
  }
}
@media (max-width:400px) {
  .date-field div.day-of-week-mobile p {
    font-size: 20px;
  }
}

/* CLOCK */
.clock-field {
	margin: 50px  0;
  display: flex;
  justify-content: center;
}
.clock-field div {
	display: inline-block;
	position: relative;
}
.clock-field div p {
	font-size: 120px;
	position: relative;
	z-index: 100;
  color: #fff;
	font-family: 'digital-7', sans-serif;
}
.clock-field .numbers .placeholder {
	color: #2b2828;
	position: absolute;
	top: 0;
	z-index: 50;
	font-family: 'digital-7', sans-serif;
}
.clock-field .numbers .type {
  font-size: 10px;
  font-weight: bold;
  font-family: sans-serif;
  text-transform: uppercase;
  margin-top: -10px;
}
.clock-field .am-pm {
	font-family: sans-serif;
	text-transform: uppercase;
	width: 20px;
}
.clock-field .am-pm div p {
	font-size: 12px;
	font-weight: bold;
	width: 100%;
}
.clock-field .am,
.clock-field .pm {
	color: #2b2828;
}

@media (max-width:768px) {
  main.clock-display {
    padding: 15px 30px;
  }
  .desktop-view {
    display: none;
  }
}

@media (max-width:550px) {
  .date-field div p {
    font-size: 30px;
  }
  .clock-field div p {
  	font-size: 80px;
  }
}

@media (max-width:468px) {
  .date-field div p {
    font-size: 24px;
  }
  .clock-field div p {
  	font-size: 60px;
  }
}

@media (max-width:400px) {
  .date-field div p {
    font-size: 20px;
  }
  .days .day p,
  .clock-field .am-pm div p {
    font-size: 10px;
  }
  .clock-field div p {
  	font-size: 50px;
  }
}

@media (max-width:350px) {
  .date-field div p {
    font-size: 20px;
  }
  .clock-field div p {
  	font-size: 43px;
  }
}

@media (max-width:320px) {
  .date-field div p {}
  .clock-field div p {
  	font-size: 40px;
  }
}
